From: Keir Fraser Date: Thu, 10 Apr 2008 10:17:50 +0000 (+0100) Subject: x86, hvm: Fix up MTRR setup for extra magic page (IDENT_PT). X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14231^2~27 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=ed8c5356edfb07a15fcb34604ae67b24d037fb54;p=xen.git x86, hvm: Fix up MTRR setup for extra magic page (IDENT_PT). Signed-off-by: Keir Fraser --- diff --git a/xen/arch/x86/hvm/mtrr.c b/xen/arch/x86/hvm/mtrr.c index 3bd0dc9d7c..4e50680022 100644 --- a/xen/arch/x86/hvm/mtrr.c +++ b/xen/arch/x86/hvm/mtrr.c @@ -266,7 +266,7 @@ static void setup_var_mtrrs(struct vcpu *v) { if ( e820_table[i].addr == 0x100000 ) { - size = e820_table[i].size + 0x100000 + PAGE_SIZE * 4; + size = e820_table[i].size + 0x100000 + PAGE_SIZE * 5; addr = 0; } else